#!/bin/bash

#  https://www.percona.com/doc/percona-toolkit/3.0/index.html

yum install https://repo.percona.com/yum/percona-release-latest.noarch.rpm -y
yum install percona-toolkit perl-DBI perl-DBD-MySQL perl-IO-Socket-SSL perl-Digest-MD5 -y
pt-query-digest --version
# perldoc /usr/bin/pt-query-digest